pciback sends evtchn notification to pcifront when its request is processed.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sun, 12 Mar 2006 08:52:19 +0000 (09:52 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sun, 12 Mar 2006 08:52:19 +0000 (09:52 +0100)
This may in future allow pcifront to avoid spin-waiting.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c

index dcfd746a0f9e9a070e5d5ad13a720c29b32f7afb..4c79e95e671e24a01447921f07ff437c51e88c11 100644 (file)
@@ -67,6 +67,7 @@ irqreturn_t pciback_handle_event(int irq, void *dev_id, struct pt_regs *regs)
 
        wmb();
        clear_bit(_XEN_PCIF_active, (unsigned long *)&pdev->sh_info->flags);
+       notify_remote_via_irq(pdev->evtchn_irq);
 
       out:
        return IRQ_HANDLED;